import httpUtil from '../utils/request'

export function login(username,password){
    const loginReq = {
        username,
        password
    }
    return httpUtil({
        url: '/auth/login',
        method: 'post',
        data: loginReq
    })
}